package com.lavida.project.system.attendance.domain;

import java.util.Date;

import javax.validation.constraints.Pattern;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lavida.project.system.dept.domain.Dept;

public class Attendancess {
	private Integer id;					//id号
	private Integer job_id;				//工号
	private String names;				//姓名
	@JsonFormat(pattern="yyyy-MM")
	private Date dates;					//日期
	private String dept;				//部门
	private Double latenumber;			//迟到次数
	private Double serouslatenumber;	//严重迟到次数
	private Double latetime;			//迟到时长
	private Double earlynumber;			//早退次数
	private Double seearlynumber;		//严重早退次数
	private Double earlytime;			//严重迟到时长
	private Double kgtime;				//旷工时长
	private Double review;				//年假
	private Double huanxiu;				//换休
	private Double shijia;				//事假
	private Double sick;				//病假
	private Double ccjia;				//产假/产检假
	private Double workg;				//工作日加班
	private Double workx;				//休息日加班
	private Double workj;				//节假日加班
	private Integer year;				//年份
	private Integer month;				//月份
	
	public Attendancess() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Attendancess(Integer id, Integer job_id,String names, Date dates, String dept, Double latenumber,
			Double serouslatenumber, Double latetime, Double earlynumber, Double seearlynumber, Double earlytime,
			Double kgtime, Double review, Double huanxiu, Double shijia, Double sick, Double ccjia, Double workg,
			Double workx, Double workj, Integer year, Integer month) {
		super();
		this.id = id;
		this.job_id = job_id;
		this.names = names;
		this.dates = dates;
		this.dept = dept;
		this.latenumber = latenumber;
		this.serouslatenumber = serouslatenumber;
		this.latetime = latetime;
		this.earlynumber = earlynumber;
		this.seearlynumber = seearlynumber;
		this.earlytime = earlytime;
		this.kgtime = kgtime;
		this.review = review;
		this.huanxiu = huanxiu;
		this.shijia = shijia;
		this.sick = sick;
		this.ccjia = ccjia;
		this.workg = workg;
		this.workx = workx;
		this.workj = workj;
		this.year = year;
		this.month = month;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getJob_id() {
		return job_id;
	}

	public void setJob_id(Integer job_id) {
		this.job_id = job_id;
	}
	
	public String getNames() {
		return names;
	}

	public void setNames(String names) {
		this.names = names;
	}

	public Date getDates() {
		return dates;
	}

	public void setDates(Date dates) {
		this.dates = dates;
	}

	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public Double getLatenumber() {
		return latenumber;
	}

	public void setLatenumber(Double latenumber) {
		this.latenumber = latenumber;
	}

	public Double getSerouslatenumber() {
		return serouslatenumber;
	}

	public void setSerouslatenumber(Double serouslatenumber) {
		this.serouslatenumber = serouslatenumber;
	}

	public Double getLatetime() {
		return latetime;
	}

	public void setLatetime(Double latetime) {
		this.latetime = latetime;
	}

	public Double getEarlynumber() {
		return earlynumber;
	}

	public void setEarlynumber(Double earlynumber) {
		this.earlynumber = earlynumber;
	}

	public Double getSeearlynumber() {
		return seearlynumber;
	}

	public void setSeearlynumber(Double seearlynumber) {
		this.seearlynumber = seearlynumber;
	}

	public Double getEarlytime() {
		return earlytime;
	}

	public void setEarlytime(Double earlytime) {
		this.earlytime = earlytime;
	}

	public Double getKgtime() {
		return kgtime;
	}

	public void setKgtime(Double kgtime) {
		this.kgtime = kgtime;
	}

	public Double getReview() {
		return review;
	}

	public void setReview(Double review) {
		this.review = review;
	}

	public Double getHuanxiu() {
		return huanxiu;
	}

	public void setHuanxiu(Double huanxiu) {
		this.huanxiu = huanxiu;
	}

	public Double getShijia() {
		return shijia;
	}

	public void setShijia(Double shijia) {
		this.shijia = shijia;
	}

	public Double getSick() {
		return sick;
	}

	public void setSick(Double sick) {
		this.sick = sick;
	}

	public Double getCcjia() {
		return ccjia;
	}

	public void setCcjia(Double ccjia) {
		this.ccjia = ccjia;
	}

	public Double getWorkg() {
		return workg;
	}

	public void setWorkg(Double workg) {
		this.workg = workg;
	}

	public Double getWorkx() {
		return workx;
	}

	public void setWorkx(Double workx) {
		this.workx = workx;
	}

	public Double getWorkj() {
		return workj;
	}

	public void setWorkj(Double workj) {
		this.workj = workj;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	@Override
	public String toString() {
		return "Attendancess [id=" + id + ", job_id=" + job_id + ", names=" + names + ", dates=" + dates + ", dept="
				+ dept + ", latenumber=" + latenumber + ", serouslatenumber=" + serouslatenumber + ", latetime="
				+ latetime + ", earlynumber=" + earlynumber + ", seearlynumber=" + seearlynumber + ", earlytime="
				+ earlytime + ", kgtime=" + kgtime + ", review=" + review + ", huanxiu=" + huanxiu + ", shijia="
				+ shijia + ", sick=" + sick + ", ccjia=" + ccjia + ", workg=" + workg + ", workx=" + workx + ", workj="
				+ workj + ", year=" + year + ", month=" + month + "]";
	}

	
	
}
